import {createRouter, createWebHashHistory} from "vue-router";
import Cmp01GetAll from "../components/Cmp01GetAll.vue";
import Cmp02AddTiger from "../components/Cmp02AddTiger.vue";
import Cmp03EditTiger from "../components/Cmp03EditTiger.vue";
import Cmp04Page from "../components/Cmp04Page.vue";

export default createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: "/",
            component: Cmp01GetAll
        },
        {
            path: "/add",
            component: Cmp02AddTiger
        },
        {
            path: "/edit",
            component: Cmp03EditTiger
        },
        {
            path: "/page",
            component: Cmp04Page
        }
    ]
});